<%@ page language="java" contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ include file="../common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>     

<title>POS收单运营管理平台</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link href="<s:url value="/css/a.css"/>" type="text/css"
	rel="stylesheet" />
<link href="<s:url value="/css/index.css"/>" type="text/css"
	rel="stylesheet" />
<link href="<s:url value="/css/common.css"/>" type="text/css" rel="stylesheet" />


<script type="text/javascript"
	src="<s:url value="/js/jquery-1.9.1.min.js" />"></script>
<script type="text/javascript"
	src="<s:url value="/js/jquery.validate.min.js" />"></script>
<script type="text/javascript"
	src="<s:url value="/js/pwms.validate.js?v13" />"></script>
<script language="javascript" type="text/javascript"
	src="<s:url value="/js/My97DatePicker/WdatePicker.js"/>"></script>

<style type="text/css">
.fieldError {
	color: red;
	text-align: left;
}

.error {
	float: none;
	color: red;
	padding-left: .5em;
	vertical-align: top;
}

table th {
	font-weight: bolder;
	text-align: left;
	background-color: #5599FF;
}
</style>
<script type="text/javascript">
  
</script>

</head>

<body>
		<s:form theme="simple">
			<table class="tb" style="width:100%">
			    <tbody>
			        <tr class="tb-line">
			            <td class="tb-td" colspan="4" ><div class="tb-h3">代理商基本信息</div></td>
			        </tr>
			        <tr class="tb-line">
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">甲方名称：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
								<s:property value="#request.agent.realName"/>
			                </label>
			            </td>
				        <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">账户：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="#request.agent.accountNo"/>
			                </label>
			            </td>
					</tr>
					
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">性别：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
								<s:if test="#request.agent.sex==\"1\"">男</s:if>
								<s:if test="#request.agent.sex==\"0\"">女</s:if>
			                </label>
			            </td>
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">手机号：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
								<s:property value="#request.agent.mobile"/>
			                </label>
			            </td>
					</tr>
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">证件类型：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
								<s:if test="#request.agent.cardType==\"01\"">身份证</s:if>
								<s:if test="#request.agent.cardType==\"02\"">护照</s:if>
								<s:if test="#request.agent.cardType==\"03\"">军官证</s:if>
								<s:if test="#request.agent.cardType==\"04\"">驾照</s:if>
								<s:if test="#request.agent.cardType==\"05\"">其他</s:if>
			                </label>
			            </td>
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">证件号码：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="#request.agent.cardNo"/>
			                </label>
			            </td>
					</tr>
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">邮政编码：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="#request.agent.zipeCode"/>
			                </label>
			            </td>
						
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">电话号码：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="#request.agent.telphone"/>
			                </label>
			            </td>
					</tr>
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">邮箱地址：</div>
		            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="#request.agent.email"/>
			                </label>
			            </td>
					
						
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">业务联系人：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="#request.agent.businessPerson"/>
			                </label>
			            </td>
					</tr>
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">业务联系人电话：</div>
		            	</td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="#request.agent.businessPhone"/>
			                </label>
			            </td>
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">业务联系QQ：</div>
			            </td>
			            <td class="tb-td" >
		             	<label class="tb-input-lengthen">
		             		<s:property value="#request.agent.qq"/>
			                </label>
			            </td>
					</tr>
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">开户行：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
		             			<s:property value="#request.agent.bankDeposit"/>
				            </label>
				        </td>
							
				        <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4"> 账户名称：</div>
			            </td>
			            <td class="tb-td" >
		             	<label class="tb-input-lengthen">
		             		<s:property value="#request.agent.bankAcctName"/>
			                </label>
			            </td>
					</tr>
					<tr class="tb-line">
						
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">银行账户：</div>
			            </td>
			            <td class="tb-td" >
		             		<label class="tb-input-lengthen">
		             			<s:property value="#request.agent.bankAcctNo"/>
			                </label>
			            </td>
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">经营地区：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
								<s:property value="#request.areaName"/>
			                </label>
			            </td>
					</tr>
					<s:if test=" #request.invoiceRateFlag==\"1\" || #request.isRsbFlag==\"1\"  ">
						<tr class="tb-line">
						   	<td align="right" class="tb-td" style="width:110px;">
						       	<div class="tb-h4">发票扣率：</div>
					           </td>
					           <td class="tb-td" >
					            <label class="tb-input-lengthen">
									<s:property value="#request.agent.taxRegistrationCertificate"/>
					            </label>
							</td>
						   	<td align="right" class="tb-td" style="width:110px;">
						       	<div class="tb-h4">序号编码：</div>
					           </td>
					           <td class="tb-td" >
					            <label class="tb-input-lengthen">
									<s:property value="#request.agent.organizationCode"/>
					            </label>
							</td>
						</tr>
					</s:if>
					<tr class="tb-line">
				    	<td align="right" class="tb-td" style="width:110px;">
				        	<div class="tb-h4">商户类别:</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
								<s:if test="#request.agent.groupCd==\"1\"">直联</s:if>
								<s:if test="#request.agent.groupCd==\"0\"">间联</s:if>
								<s:if test="#request.agent.groupCd==\"2\"">间联直营</s:if>
			                </label>
						</td>
					</tr>
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">经营范围：</div>
		            	</td>
			            <td class="tb-td" colspan="3" >
			             	<label class="tb-input-lengthen">
								<s:property value="#request.agent.businessScope"/>
			                </label>
			            </td>
					</tr>
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">详细地址：</div>
			            </td>
			            <td class="tb-td" colspan="3" >
			             	<label class="tb-input-lengthen">
							<s:property value="#request.agent.address"/>
			                </label>
			            </td>
					</tr>
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">备注：</div>
			            </td>
			            <td class="tb-td" colspan="3" >
			             	<label class="tb-input-lengthen">
							<s:property value="#request.agent.remark"/>
			                </label>
			            </td>
					</tr>
					<s:if test="#request.agent.proList.size() > 0">
	                <tr class="tb-line bg-gray">
			            <td  align="center" class="tb-td"  colspan="4"><div class="tb-h3">代理商拓展范围</div></td>
			        </tr>
					<tr class="tb-line">
						<td class="tb-td" colspan="4" style="padding:0;">
 							<table style="width: 100%" >
								<tr class="tb-line">
									<td class="tb-td"  >
				                        <div class="tb-h4">成本扣率</div>
				                    </td>
									<td class="tb-td"  >
				                        <div class="tb-h4">借记卡成本扣率</div>
				                    </td>
									<td class="tb-td"  >
				                        <div class="tb-h4">贷记卡成本扣率</div>
				                    </td>
									<td  class="tb-td"  >
				                        <div class="tb-h4">借记卡封顶成本金额</div>
				                    </td>
									<td class="tb-td"  >
				                        <div class="tb-h4">贷记卡最低签扣</div>
				                    </td>
								</tr>
								<s:iterator value="#request.agent.proList" var="agent" status="stat">
									<tr class="tb-line">
				                    	<td class="tb-td" >
											<s:property value="#agent.mccTypeName"/>
					                    </td>
				                    	<td class="tb-td" >
				                        	<s:property value="#agent.profitFee"/>%
				                    	</td>
				                    	<td class="tb-td" >
				                        	<s:property value="#agent.profitSettleRate"/>%
					                    </td>
				                    	<td class="tb-td" >
				                        	<s:property value="#agent.maxFee"/>元
					                    </td>
				                    	<td class="tb-td" >
				                        	<s:property value="#agent.merchantMinFee"/>%
				                    	</td>
									</tr>
								</s:iterator>
							</table>
						</td>
					</tr>
				</s:if>
			<s:if test="#request.agent.profitPerList.size() > 0">
	                <tr class="tb-line bg-gray">
			            <td  align="center" class="tb-td"  colspan="4"><div class="tb-h3">代理商分润比例</div></td>
			        </tr>
					<tr class="tb-line">
						<td colspan="4">
							<table  width="100%">
								<tr class="tb-line">
									<td class="tb-td"  >
				                        <div class="tb-h4">区间最小金额</div>
				                    </td>
									<td class="tb-td"  >
				                        <div class="tb-h4">区间最大金额</div>
				                    </td>
									<td class="tb-td"  >
				                        <div class="tb-h4">代理商分润比例</div>
				                    </td>
								
								</tr>
								<s:iterator value="#request.agent.profitPerList" var="agent2" status="stat2">
									<tr class="tb-line">
										<td class="tb-td" ><s:property value="#agent2.limit_amt"/>元</td>
										<td class="tb-td" ><s:property value="#agent2.max_amt"/>元</td>
										<td class="tb-td" ><s:property value="#agent2.percent"/>%</td>
									</tr>
								</s:iterator>
							</table>
						</td>
					</tr>
				</s:if>
					
					
				</table>
				</s:form>
	<!-- 	</div>
	 -->
</body>
</html>
